<div class="boxComment">
	<div class="commentItem">
    	<div class="userInput">
    		<textarea id="{$strName}" name="{$strName}" rows="0" cols="0" onclick="javascript:cmtFocus('{$strDefault}','{$strName}',this.value);" onBlur="javascript:cmtBlur('{$strDefault}','{$strName}',this.value,{$intShow});">{$strDefault}</textarea>
        </div>
        <div class="userInput" id="emo_{$strName}" {if $intShow==0}style="display:none;"{/if}>
        	<ul>
            	<li class="firstChild">
                	{emoticon name=$strName}
               	</li>
            </ul>
            <input type="submit" value="Gửi" class="btn" />
        </div>
    </div>
</div>
{literal}
	<script type="text/javascript" language="javascript">
    	/**/
		$(document).ready(function(){		
			$("textarea#{/literal}{$strName}{literal}").autoResize({
				// On resize:
				onResize : function() {					
					$(this).css({opacity:0.9});
				},				
				// After resize:
				animateCallback : function() {
					$(this).css({opacity:1});
				},
				// Quite slow animation:
				animateDuration : 300,
				// More extra space:
				extraSpace : 3
			});
		});
    </script>
{/literal}